package day03;

/*
    >大于,<小于,>=大于等于,<=小于等于,==全等,!=不等
 */
public class Demo02关系运算符 {
    public static void main(String[] args) {
        int a = 10, b = 20, c = 30;
        boolean a1 = a > b;

        System.out.println(a1);
        System.out.println(a > b);
        System.out.println(a < c);
        System.out.println(a >= c - b);
        System.out.println(a <= b + c);
        System.out.println(a == c - b);
        System.out.println(a != c - b);
        System.out.println(a % 2 == 0);
        System.out.println(a++ > 10);
        System.out.println(a++ > 10);
    }
}
